package org.harsh.transmission.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消息接收对象对象 trans_receiver
 * 
 * @author liuhaibo
 * @date 2024-08-25
 */
public class TransReceiver extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 消息接收ID */
    private Long id;

    /** 消息ID */
    @Excel(name = "消息ID")
    private Long msgId;

    /** 消息接收对象类型 */
    @Excel(name = "消息接收对象类型")
    private Long recvType;

    /** 消息接收节点 */
    @Excel(name = "消息接收节点")
    private Long recvNode;

    /** 消息接收对象ID */
    @Excel(name = "消息接收对象ID")
    private Long recvId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setMsgId(Long msgId) 
    {
        this.msgId = msgId;
    }

    public Long getMsgId() 
    {
        return msgId;
    }

    public void setRecvType(Long recvType) 
    {
        this.recvType = recvType;
    }

    public Long getRecvType() 
    {
        return recvType;
    }

    public void setRecvNode(Long recvNode) 
    {
        this.recvNode = recvNode;
    }

    public Long getRecvNode() 
    {
        return recvNode;
    }

    public void setRecvId(Long recvId) 
    {
        this.recvId = recvId;
    }

    public Long getRecvId() 
    {
        return recvId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("msgId", getMsgId())
            .append("recvType", getRecvType())
            .append("recvNode", getRecvNode())
            .append("recvId", getRecvId())
            .toString();
    }
}
